package io.xccit.service.impl;

import io.xccit.mapper.IUserMapper;
import io.xccit.pojo.User;
import io.xccit.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Xccit
 * @Date 2023-01-23
 * @Description
 */
@Service
public class UserServiceImpl implements IUserService {
    @Autowired
    private IUserMapper userMapper;
    @Override
    public List<User> findAll() {
        return userMapper.findAll();
    }
}
